package signals;

import java.util.ArrayList;

/** 
     * This class FileProposal is a signal called when we are sending a new file proposal to a remote user 
     * @return 
     */
public class FileProposal extends Signal {
        private String fileName;
        private long size;
        private String from;
        private ArrayList<String> to;
       
        public FileProposal(String fileName, long size, String from, ArrayList<String> to) {
                super();
                this.fileName = fileName;
                this.size = size;
                this.from = from;
                this.to = to;
        }
       
        public String getFileName() {
                return fileName;
        }
        public void setFileName(String fileName) {
                this.fileName = fileName;
        }
        public long getSize() {
                return size;
        }
        public void setSize(long size) {
                this.size = size;
        }
        public String getFrom() {
                return from;
        }
        public void setFrom(String from) {
                this.from = from;
        }

        public ArrayList<String> getTo() {
                return to;
        }

        public void setTo(ArrayList<String> to) {
                this.to = to;
        }

       
}
